<?= $this->doctype()."\n"; ?>
<html>
<head>
	<?= $this->headTitle() ?>
	<meta charset="utf-8">
	<link rel="stylesheet" type="text/css" href="/css/reset.css">
	<script type="text/javascript" src="/js/ext/jquery/jquery-1.3.2.js"></script>
	<script type="text/javascript" src="/js/ext/jquery-ui/jquery-ui-1.7.2.custom.js"></script>
</head>
<body>
	<div id="wrapper">

		<!-- begin of header -->
		<div id="header"><header>
			%TO BE DONE%
		</header></div>
		<!-- end of header -->

		<!-- begin of error/success messages -->
		<?= $this->errorMessenger()->getIterator()->count() ? $this->errorMessenger()->toString('flashMessenger errorMessenger') : '' ?>
		<?= $this->successMessenger()->getIterator()->count() ? $this->successMessenger()->toString('flashMessenger successMessenger') : '' ?>
		<!-- end of error/success messages -->

		<!-- begin of content -->
		<div id="content">
			<?= $this->layout()->content ?>
		</div>
		<!-- end of content -->

		<!-- begin of footer -->
		<div id="footer"><footer>
			%TO BE DONE%
		</footer></div>
		<!-- end of footer -->
		
	</div>
</body>
</html>